package io.github.wppli.infrastructure.persistent.dao;

import io.github.wppli.infrastructure.persistent.po.Likes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户点赞记录 Mapper 接口
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-11
 */
@Mapper
public interface ILikesDao extends BaseMapper<Likes> {

    Likes queryLikePosts(Long postId, Long userId);

    void updateLikeStatus(Long postId, Long userId, int status);
}
